package edu.nf.ch07.service.impl;

import edu.nf.ch07.container.Component;
import edu.nf.ch07.service.Payment;

import java.math.BigDecimal;

/**
 * @author wangl
 * @date 2025/4/17
 */
@Component("alipay")
public class AliPay implements Payment {

    @Override
    public void pay(BigDecimal money) {
        System.out.println("使用阿里支付...");
    }
}